package com.lequ.monitor.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateFormat {

	private static final String format="yyyy-MM-dd HH:mm:ss";
	
	public static String getDate(String milliseconds){
		 Date date=new Date();
		 date.setTime(Long.valueOf(milliseconds));
		 SimpleDateFormat sdf=new  SimpleDateFormat(format);
		 return sdf.format(date);		
	}
}
